package service;

import com.github.pagehelper.PageInfo;
import entity.LayRequest;
import entity.Permission;
import entity.Role;

import java.util.List;

/**
 * @Author Administrator
 * @create 2020.06.19 下午 2:42
 */
public interface PermissionService {

    PageInfo<Permission> selectByMap(LayRequest layRequest);

    List<Permission> selectAll();

    boolean insert(Permission permission);
}
